﻿#ifndef ROLESTATEMEMENTO_H
#define ROLESTATEMEMENTO_H


class RoleStateMemento
{
private:
    int m_hp;  //生命力
    int m_atk;  //攻击力
    int m_def;  //防御力
public:
    RoleStateMemento(int hp, int atk, int def);
    int getHp() const;
    void setHp(int hp);
    int getAtk() const;
    void setAtk(int atk);
    int getDef() const;
    void setDef(int def);
};

#endif // ROLESTATEMEMENTO_H
